package Exercise1109;

public class Q37_Person {
      // name , addr , phone
	
	// 멤버 변수
	private String name;
	private String addr;
	private String phone;
	
	// 생성자
	public Q37_Person(){}
	public Q37_Person(String name, String addr, String phone){
		this.name = name;
		this.addr = addr;
		this.phone = phone;
	}
	
	// getter / setter method
	
	public void setName(String name){this.name = name;}
	public void setAddr(String addr){this.addr = addr;}
	public void setPhone(String phone){this.phone = phone;}
	
	public String getName(){return name;}
	public String getAddr(){return addr;}
	public String getPhone(){return phone;}
}
